@media print {
  a:link, a:visited {
    text-decoration: underline !important;
  }

  .main a:link:after,
  .main a:visited:after {
    content: " (" attr(href) ") ";
    font-size: 0.8em;
    font-weight: normal;
  }

  .main,
  .main .section {
    float: none;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  body,
  #page-wrapper,
  #page,
  #wrap-columns,
  #main,
  .main,
  .main .section,
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
  }

  #skip-to-nav,
  #toolbar,
  .primary-menu,
  .secondary-menu,
  .masthead,
  .region-header,
  .region-featured,
  .region-sidebar-first,
  .region-sidebar-second,
  .region-footer,
  .breadcrumb,
  div.tabs,
  .action-links,
  .links,
  .book-navigation,
  .forum-topic-navigation,
  .pager,
  .feed-icons,
  .messages,
  .message,
  .arctica-attr-link,
  .dev-query,
  #block-system-powered-by,
  form {
    visibility: hidden;
    display: none;
  }

  #page-wrapper {
    overflow-y: visible;
  }
}
